.class public Lcom/xingbook/ui/z;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/b/m;


# static fields
.field private static a:Lcom/xingbook/ui/z;


# instance fields
.field private A:Lcom/xingbook/b/k;

.field private B:Lcom/xingbook/ui/aa;

.field private b:Z

.field private c:Z

.field private d:Z

.field private e:Landroid/widget/RelativeLayout;

.field private f:Lcom/xingbook/ui/ad;

.field private g:Lcom/xingbook/ui/ad;

.field private h:Lcom/xingbook/ui/ad;

.field private i:Landroid/widget/HorizontalScrollView;

.field private j:Landroid/widget/LinearLayout;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/ImageView;

.field private m:Landroid/widget/TextView;

.field private n:Landroid/widget/ImageView;

.field private o:Landroid/view/ViewGroup;

.field private p:Landroid/content/Context;

.field private q:I

.field private r:I

.field private s:I

.field private t:I

.field private u:I

.field private v:F

.field private w:F

.field private x:I

.field private y:I

.field private z:Z


# direct methods
.method private constructor <init>(Landroid/app/Activity;)V
    .locals 2

    const/4 v0, 0x1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-boolean v0, p0, Lcom/xingbook/ui/z;->b:Z

    iput-boolean v0, p0, Lcom/xingbook/ui/z;->c:Z

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/z;->d:Z

    new-instance v0, Lcom/xingbook/ui/aa;

    invoke-direct {v0, p0}, Lcom/xingbook/ui/aa;-><init>(Lcom/xingbook/ui/z;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->B:Lcom/xingbook/ui/aa;

    invoke-static {p1}, Lcom/xingbook/c/n;->f(Landroid/app/Activity;)F

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->v:F

    invoke-static {p1}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->w:F

    const/high16 v0, 0x4431

    iget v1, p0, Lcom/xingbook/ui/z;->v:F

    mul-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->q:I

    const/high16 v0, 0x4190

    iget v1, p0, Lcom/xingbook/ui/z;->v:F

    mul-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->r:I

    const/high16 v0, 0x42a0

    iget v1, p0, Lcom/xingbook/ui/z;->v:F

    mul-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->s:I

    const/high16 v0, 0x4366

    iget v1, p0, Lcom/xingbook/ui/z;->v:F

    mul-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->t:I

    const/high16 v0, 0x4296

    iget v1, p0, Lcom/xingbook/ui/z;->v:F

    mul-float/2addr v0, v1

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->u:I

    invoke-static {p1}, Lcom/xingbook/c/n;->c(Landroid/app/Activity;)I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->x:I

    invoke-static {p1}, Lcom/xingbook/c/n;->d(Landroid/app/Activity;)I

    move-result v0

    iput v0, p0, Lcom/xingbook/ui/z;->y:I

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ui/z;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method public static a(Landroid/view/ViewGroup;Landroid/app/Activity;)Lcom/xingbook/ui/z;
    .locals 1

    const/4 v0, 0x0

    invoke-static {p0, p1, v0}, Lcom/xingbook/ui/z;->a(Landroid/view/ViewGroup;Landroid/app/Activity;Z)Lcom/xingbook/ui/z;

    move-result-object v0

    return-object v0
.end method

.method public static a(Landroid/view/ViewGroup;Landroid/app/Activity;Z)Lcom/xingbook/ui/z;
    .locals 1

    sget-object v0, Lcom/xingbook/ui/z;->a:Lcom/xingbook/ui/z;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/ui/z;

    invoke-direct {v0, p1}, Lcom/xingbook/ui/z;-><init>(Landroid/app/Activity;)V

    sput-object v0, Lcom/xingbook/ui/z;->a:Lcom/xingbook/ui/z;

    :cond_0
    sget-object v0, Lcom/xingbook/ui/z;->a:Lcom/xingbook/ui/z;

    iput-boolean p2, v0, Lcom/xingbook/ui/z;->d:Z

    sget-object v0, Lcom/xingbook/ui/z;->a:Lcom/xingbook/ui/z;

    invoke-direct {v0, p0, p1}, Lcom/xingbook/ui/z;->a(Landroid/view/ViewGroup;Landroid/content/Context;)V

    sget-object v0, Lcom/xingbook/ui/z;->a:Lcom/xingbook/ui/z;

    return-object v0
.end method

.method private a(Landroid/view/ViewGroup;Landroid/content/Context;)V
    .locals 11

    const/high16 v10, 0x41d8

    const/high16 v9, 0x4120

    const/16 v8, 0x11

    const/4 v7, -0x1

    const/4 v3, 0x0

    if-nez p1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    :cond_0
    if-nez p2, :cond_1

    const/4 v0, 0x0

    sput-object v0, Lcom/xingbook/ui/z;->a:Lcom/xingbook/ui/z;

    :cond_1
    :goto_0
    return-void

    :cond_2
    invoke-virtual {p2}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    if-nez v0, :cond_3

    new-instance v0, Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    const/high16 v1, -0x8000

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    new-instance v1, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v1, v7, v7}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    const v1, 0x15f90

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setId(I)V

    new-instance v0, Lcom/xingbook/ui/ad;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->f:Lcom/xingbook/ui/ad;

    iget-object v0, p0, Lcom/xingbook/ui/z;->f:Lcom/xingbook/ui/ad;

    const/4 v1, 0x1

    iput-boolean v1, v0, Lcom/xingbook/ui/ad;->y:Z

    iget-object v0, p0, Lcom/xingbook/ui/z;->f:Lcom/xingbook/ui/ad;

    iput v7, v0, Lcom/xingbook/ui/ad;->i:I

    iget-object v0, p0, Lcom/xingbook/ui/z;->f:Lcom/xingbook/ui/ad;

    iput v9, v0, Lcom/xingbook/ui/ad;->j:F

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/xingbook/ui/ad;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    iget-object v0, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    const v1, -0xcccccd

    iput v1, v0, Lcom/xingbook/ui/ad;->b:I

    iget-object v0, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    const/high16 v1, 0x4220

    iget v2, p0, Lcom/xingbook/ui/z;->v:F

    mul-float/2addr v1, v2

    iput v1, v0, Lcom/xingbook/ui/ad;->c:F

    iget-object v0, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    iput v8, v0, Lcom/xingbook/ui/ad;->d:I

    iget-object v0, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    const v1, -0xcccccd

    const/4 v2, 0x2

    const/4 v6, 0x1

    move v4, v3

    move v5, v3

    invoke-virtual/range {v0 .. v6}, Lcom/xingbook/ui/ad;->a(IIIIII)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->n:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/z;->n:Landroid/widget/ImageView;

    const v1, 0x15f94

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setId(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->n:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->n:Landroid/widget/ImageView;

    const v1, 0x7f020053

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->m:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/ui/z;->m:Landroid/widget/TextView;

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->m:Landroid/widget/TextView;

    iget v1, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v1, v10

    invoke-virtual {v0, v3, v1}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->m:Landroid/widget/TextView;

    const v1, -0x99999a

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->m:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/HorizontalScrollView;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/HorizontalScrollView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->i:Landroid/widget/HorizontalScrollView;

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->i:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v7}, Landroid/widget/LinearLayout;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    const v1, 0x15f93

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setId(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v8}, Landroid/widget/LinearLayout;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setOrientation(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->l:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/z;->l:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/high16 v1, 0x4282

    iget v2, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v1, v2

    float-to-int v1, v1

    const/high16 v2, 0x428a

    iget v4, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/ui/z;->l:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->l:Landroid/widget/ImageView;

    const v1, 0x7f020240

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->l:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/TextView;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->k:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/ui/z;->k:Landroid/widget/TextView;

    iget v1, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v1, v10

    invoke-virtual {v0, v3, v1}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->k:Landroid/widget/TextView;

    const v1, -0x99999a

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x2

    const/4 v2, -0x2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    iget-object v1, p0, Lcom/xingbook/ui/z;->k:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->k:Landroid/widget/TextView;

    const-string v1, "\u8d44\u6e90\u52a0\u8f7d\u5931\u8d25\uff0c\u70b9\u51fb\u91cd\u65b0\u52a0\u8f7d"

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    new-instance v2, Lcom/xingbook/ui/ad;

    iget-object v0, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v2, v0}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    const v0, -0x151516

    iput v0, v2, Lcom/xingbook/ui/ad;->i:I

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Lcom/xingbook/ui/ad;

    iget-object v1, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/xingbook/ui/ad;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    const v1, 0x15f91

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setId(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    const v1, -0xc35f14

    iput v1, v0, Lcom/xingbook/ui/ad;->i:I

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    iput v9, v0, Lcom/xingbook/ui/ad;->j:F

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    iput v8, v0, Lcom/xingbook/ui/ad;->d:I

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    const/high16 v1, 0x4220

    iget v4, p0, Lcom/xingbook/ui/z;->v:F

    mul-float/2addr v1, v4

    iput v1, v0, Lcom/xingbook/ui/ad;->c:F

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    iput v7, v0, Lcom/xingbook/ui/ad;->b:I

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    const v1, -0x555556

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/ad;->setHilighted(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    const/high16 v0, 0x438c

    iget v1, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v0, v1

    float-to-int v4, v0

    iget v0, p0, Lcom/xingbook/ui/z;->r:I

    mul-int/lit8 v0, v0, 0x4

    add-int/2addr v0, v4

    iget v1, p0, Lcom/xingbook/ui/z;->s:I

    add-int/2addr v0, v1

    iget v1, p0, Lcom/xingbook/ui/z;->u:I

    add-int v5, v0, v1

    iget-boolean v0, p0, Lcom/xingbook/ui/z;->d:Z

    if-eqz v0, :cond_5

    iget v0, p0, Lcom/xingbook/ui/z;->y:I

    iget v1, p0, Lcom/xingbook/ui/z;->q:I

    sub-int/2addr v0, v1

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v1

    iget v0, p0, Lcom/xingbook/ui/z;->x:I

    sub-int/2addr v0, v5

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    :goto_1
    new-instance v6, Landroid/widget/RelativeLayout$LayoutParams;

    iget v7, p0, Lcom/xingbook/ui/z;->q:I

    invoke-direct {v6, v7, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v1, v6, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v0, v6, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v5, p0, Lcom/xingbook/ui/z;->f:Lcom/xingbook/ui/ad;

    invoke-virtual {v5, v6}, Lcom/xingbook/ui/ad;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v5, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    const-string v6, "\u661f\u5b9d\u4e66"

    iput-object v6, v5, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    iget-object v5, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v5, v3}, Lcom/xingbook/ui/ad;->setVisibility(I)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    iget v5, p0, Lcom/xingbook/ui/z;->q:I

    iget v6, p0, Lcom/xingbook/ui/z;->r:I

    mul-int/lit8 v6, v6, 0x2

    sub-int/2addr v5, v6

    iget v6, p0, Lcom/xingbook/ui/z;->u:I

    invoke-direct {v3, v5, v6}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v5, p0, Lcom/xingbook/ui/z;->r:I

    add-int/2addr v5, v1

    iput v5, v3, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v0, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v5, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v5, v3}, Lcom/xingbook/ui/ad;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v3, p0, Lcom/xingbook/ui/z;->h:Lcom/xingbook/ui/ad;

    invoke-virtual {v3}, Lcom/xingbook/ui/ad;->invalidate()V

    const/high16 v3, 0x4296

    iget v5, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v3, v5

    float-to-int v3, v3

    const/high16 v5, 0x4150

    iget v6, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v5, v6

    float-to-int v5, v5

    new-instance v6, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v6, v3, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v0, v6, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget v7, p0, Lcom/xingbook/ui/z;->q:I

    add-int/2addr v7, v1

    sub-int v3, v7, v3

    iput v3, v6, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iget-object v3, p0, Lcom/xingbook/ui/z;->n:Landroid/widget/ImageView;

    invoke-virtual {v3, v5, v5, v5, v5}, Landroid/widget/ImageView;->setPadding(IIII)V

    iget-object v3, p0, Lcom/xingbook/ui/z;->n:Landroid/widget/ImageView;

    invoke-virtual {v3, v6}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget v3, p0, Lcom/xingbook/ui/z;->u:I

    iget v5, p0, Lcom/xingbook/ui/z;->r:I

    add-int/2addr v3, v5

    add-int/2addr v0, v3

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    iget v5, p0, Lcom/xingbook/ui/z;->q:I

    iget v6, p0, Lcom/xingbook/ui/z;->r:I

    mul-int/lit8 v6, v6, 0x2

    sub-int/2addr v5, v6

    invoke-direct {v3, v5, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v5, p0, Lcom/xingbook/ui/z;->r:I

    add-int/2addr v5, v1

    iput v5, v3, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v0, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v5, p0, Lcom/xingbook/ui/z;->m:Landroid/widget/TextView;

    invoke-virtual {v5, v3}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    iget v5, p0, Lcom/xingbook/ui/z;->q:I

    iget v6, p0, Lcom/xingbook/ui/z;->r:I

    mul-int/lit8 v6, v6, 0x2

    sub-int/2addr v5, v6

    invoke-direct {v3, v5, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v5, p0, Lcom/xingbook/ui/z;->r:I

    add-int/2addr v5, v1

    iput v5, v3, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v0, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v5, p0, Lcom/xingbook/ui/z;->i:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v5, v3}, Landroid/widget/HorizontalScrollView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    iget v5, p0, Lcom/xingbook/ui/z;->q:I

    iget v6, p0, Lcom/xingbook/ui/z;->r:I

    mul-int/lit8 v6, v6, 0x2

    sub-int/2addr v5, v6

    invoke-direct {v3, v5, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iget v5, p0, Lcom/xingbook/ui/z;->r:I

    add-int/2addr v5, v1

    iput v5, v3, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v0, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    add-int/2addr v0, v4

    iget-object v4, p0, Lcom/xingbook/ui/z;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v4, v3}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget v3, p0, Lcom/xingbook/ui/z;->r:I

    add-int/2addr v0, v3

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    iget v4, p0, Lcom/xingbook/ui/z;->q:I

    iget v5, p0, Lcom/xingbook/ui/z;->s:I

    iget v6, p0, Lcom/xingbook/ui/z;->r:I

    mul-int/lit8 v6, v6, 0x2

    add-int/2addr v5, v6

    invoke-direct {v3, v4, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v1, v3, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v0, v3, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    invoke-virtual {v2, v3}, Lcom/xingbook/ui/ad;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget v1, p0, Lcom/xingbook/ui/z;->r:I

    add-int/2addr v1, v0

    iget-boolean v0, p0, Lcom/xingbook/ui/z;->d:Z

    if-eqz v0, :cond_6

    iget v0, p0, Lcom/xingbook/ui/z;->y:I

    iget v2, p0, Lcom/xingbook/ui/z;->t:I

    sub-int/2addr v0, v2

    div-int/lit8 v0, v0, 0x2

    :goto_2
    iget-object v2, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    const-string v3, "\u7ee7\u7eed\u9605\u8bfb"

    iput-object v3, v2, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    new-instance v2, Landroid/widget/RelativeLayout$LayoutParams;

    iget v3, p0, Lcom/xingbook/ui/z;->t:I

    iget v4, p0, Lcom/xingbook/ui/z;->s:I

    invoke-direct {v2, v3, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    iput v0, v2, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    iput v1, v2, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, v2}, Lcom/xingbook/ui/ad;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v0}, Lcom/xingbook/ui/ad;->invalidate()V

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v0, p0}, Lcom/xingbook/ui/ad;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_3
    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    invoke-virtual {p1, v0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_4
    iput-object p1, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    goto/16 :goto_0

    :cond_5
    iget v0, p0, Lcom/xingbook/ui/z;->x:I

    iget v1, p0, Lcom/xingbook/ui/z;->q:I

    sub-int/2addr v0, v1

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v1

    iget v0, p0, Lcom/xingbook/ui/z;->y:I

    sub-int/2addr v0, v5

    div-int/lit8 v0, v0, 0x2

    int-to-float v0, v0

    invoke-static {v0}, Ljava/lang/Math;->round(F)I

    move-result v0

    goto/16 :goto_1

    :cond_6
    iget v0, p0, Lcom/xingbook/ui/z;->x:I

    iget v2, p0, Lcom/xingbook/ui/z;->t:I

    sub-int/2addr v0, v2

    div-int/lit8 v0, v0, 0x2

    goto :goto_2
.end method

.method static synthetic b(Lcom/xingbook/ui/z;)Landroid/widget/HorizontalScrollView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/z;->i:Landroid/widget/HorizontalScrollView;

    return-object v0
.end method

.method static synthetic c(Lcom/xingbook/ui/z;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/z;->m:Landroid/widget/TextView;

    return-object v0
.end method

.method private d()V
    .locals 10

    const/4 v7, 0x1

    const/high16 v9, 0x438c

    const/4 v3, 0x0

    new-instance v8, Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v8, v0}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V

    invoke-virtual {v8, v3}, Landroid/widget/LinearLayout;->setOrientation(I)V

    move v6, v7

    :goto_0
    iget-object v0, p0, Lcom/xingbook/ui/z;->A:Lcom/xingbook/b/k;

    iget v0, v0, Lcom/xingbook/b/k;->a:I

    if-le v6, v0, :cond_0

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, -0x2

    iget v2, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v2, v9

    float-to-int v2, v2

    invoke-direct {v0, v1, v2}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v8, v0}, Landroid/widget/LinearLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->i:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v0}, Landroid/widget/HorizontalScrollView;->removeAllViews()V

    iget-object v0, p0, Lcom/xingbook/ui/z;->i:Landroid/widget/HorizontalScrollView;

    invoke-virtual {v0, v8}, Landroid/widget/HorizontalScrollView;->addView(Landroid/view/View;)V

    return-void

    :cond_0
    new-instance v1, Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-direct {v1, v0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    sget-object v0, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    const v0, -0x333334

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/ui/z;->A:Lcom/xingbook/b/k;

    invoke-virtual {v0, v6}, Lcom/xingbook/b/k;->a(I)Ljava/lang/String;

    move-result-object v0

    const/4 v2, -0x1

    const/4 v5, 0x0

    move v4, v3

    invoke-static/range {v0 .. v5}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZF)V

    new-instance v0, Landroid/widget/LinearLayout$LayoutParams;

    const v2, 0x43ee8000

    iget v4, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    iget v4, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v4, v9

    float-to-int v4, v4

    invoke-direct {v0, v2, v4}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    if-le v6, v7, :cond_1

    const/high16 v2, 0x4120

    iget v4, p0, Lcom/xingbook/ui/z;->w:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    iput v2, v0, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    :cond_1
    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v8, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v0, v6, 0x1

    move v6, v0

    goto :goto_0
.end method

.method static synthetic d(Lcom/xingbook/ui/z;)V
    .locals 0

    invoke-direct {p0}, Lcom/xingbook/ui/z;->d()V

    return-void
.end method

.method static synthetic e(Lcom/xingbook/ui/z;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ui/z;->k:Landroid/widget/TextView;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/z;->B:Lcom/xingbook/ui/aa;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/aa;->sendEmptyMessage(I)Z

    return-void
.end method

.method public a(Lcom/xingbook/b/k;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput-object p1, p0, Lcom/xingbook/ui/z;->A:Lcom/xingbook/b/k;

    invoke-virtual {p1, p0}, Lcom/xingbook/b/k;->a(Lcom/xingbook/b/m;)V

    invoke-virtual {p1}, Lcom/xingbook/b/k;->a()Z

    iget-object v0, p0, Lcom/xingbook/ui/z;->p:Landroid/content/Context;

    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->g()Lcom/xingbook/park/d/e;

    move-result-object v0

    invoke-virtual {p1}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/d/e;->d(Ljava/lang/String;)Lcom/xingbook/xingbook/b/c;

    move-result-object v0

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/xingbook/b/c;->a()Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/xingbook/ui/z;->z:Z

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    const-string v1, "\u7acb\u5373\u9605\u8bfb"

    iput-object v1, v0, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    :goto_1
    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    invoke-virtual {v0}, Lcom/xingbook/ui/ad;->invalidate()V

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    goto :goto_0

    :cond_2
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/xingbook/ui/z;->z:Z

    iget-object v0, p0, Lcom/xingbook/ui/z;->g:Lcom/xingbook/ui/ad;

    const-string v1, "\u67e5\u770b\u8be6\u60c5"

    iput-object v1, v0, Lcom/xingbook/ui/ad;->a:Ljava/lang/String;

    goto :goto_1
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/z;->B:Lcom/xingbook/ui/aa;

    const/4 v1, 0x3

    invoke-virtual {v0, v1, p1}, Lcom/xingbook/ui/aa;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    return-void
.end method

.method public a(ILandroid/view/KeyEvent;)Z
    .locals 2

    const/4 v0, 0x4

    if-ne p1, v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-boolean v0, p0, Lcom/xingbook/ui/z;->c:Z

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/ui/z;->c()V

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public b()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/z;->B:Lcom/xingbook/ui/aa;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/xingbook/ui/aa;->sendEmptyMessage(I)Z

    return-void
.end method

.method public c()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/z;->o:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/xingbook/ui/z;->e:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x15f90

    if-ne v0, v1, :cond_1

    iget-boolean v1, p0, Lcom/xingbook/ui/z;->b:Z

    if-eqz v1, :cond_1

    invoke-virtual {p0}, Lcom/xingbook/ui/z;->c()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    const v1, 0x15f91

    if-ne v0, v1, :cond_3

    invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-boolean v1, p0, Lcom/xingbook/ui/z;->z:Z

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/xingbook/ui/z;->A:Lcom/xingbook/b/k;

    invoke-virtual {v1}, Lcom/xingbook/b/k;->t()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/xingbook/park/activity/OpenBookAct;->a(Landroid/content/Context;Ljava/lang/String;Z)V

    :goto_1
    invoke-virtual {p0}, Lcom/xingbook/ui/z;->c()V

    goto :goto_0

    :cond_2
    iget-object v1, p0, Lcom/xingbook/ui/z;->A:Lcom/xingbook/b/k;

    invoke-static {v0, v1}, Lcom/xingbook/c/t;->a(Landroid/content/Context;Lcom/xingbook/b/n;)V

    goto :goto_1

    :cond_3
    const v1, 0x15f93

    if-ne v0, v1, :cond_4

    iget-object v0, p0, Lcom/xingbook/ui/z;->A:Lcom/xingbook/b/k;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/z;->A:Lcom/xingbook/b/k;

    invoke-virtual {v0}, Lcom/xingbook/b/k;->a()Z

    goto :goto_0

    :cond_4
    const v1, 0x15f94

    if-ne v0, v1, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/ui/z;->c()V

    goto :goto_0
.end method
